package com.tencent.product.mapper;

import com.tencent.product.domain.Product;
import com.tencent.basic.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Oswald
 * @since 2022-09-09
 */
public interface ProductMapper extends BaseMapper<Product> {

    void offsale(@Param("date") Date date, @Param("ids") List<Long> ids);

    void onsale(@Param("date") Date date, @Param("id") Long id);
}
